package com.aaa.ssm.service;

import com.aaa.ssm.entity.Theme;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ fileName:ThemeService
 * @ description:
 * 景区主题
 * @ date: 2023/3/29 15:15
 * @ version:1.0.0
 */
public interface ThemeService {
    List<Theme> queryAll();
    PageInfo SysQueryByParam(Page<Theme> page);

    /**
     * 分页带参查询
     * @param page
     * @return
     */
    PageInfo queryPage(Page<Theme> page);
    int add(Theme theme);
    int update(Theme theme);
    int deleteById(int code);
}
